import request from '@/utils/requestExam'

//根据考试计划id查询考试设置信息
export function getExamSettingByPlanId(planId){
    return request({
        url: "/api/uf/boostor/exam/score/ExamSettingRest/getExamSettingByPlanId/" + planId,
        method: "get"
    })
}

//新增考试设置信息
export function addExamSetting(data){
    return request({
        url: "/api/uf/boostor/exam/score/ExamSettingRest/add/v1",
        method: "post",
        data: data
    })
}
//修改考试设置信息
export function updateExamSetting(data){
    return request({
        url: "/api/uf/boostor/exam/score/ExamSettingRest/edit/v1",
        method: "put",
        data: data
    })
}
//根据考试计划id删除考试设置信息
export function deleteExamSetting(planId){
    return request({
        url: "/api/uf/boostor/exam/score/ExamSettingRest/remove/" + planId,
        method: "delete"
    })
}
